﻿using PropertyChanged;
using System;
using System.Collections.Generic;

namespace AllInOne.Models
{
    //说明：此时的入厂应该叫待称重车辆，因为只是注册了IC卡
    /// <summary>
    /// 数据展示--门卫处--出入厂车辆
    /// </summary>
    public class ToBeWeighed
    {
        /// <summary>
        /// 序号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 司机姓名
        /// </summary>
        public string RegName { get; set; }
        /// <summary>
        /// 车牌
        /// </summary>
        public string Plate { get; set; }
        /// <summary>
        /// 货物
        /// </summary>
        public string GoodsName { get; set; }
        /// <summary>
        /// 发货单位
        /// </summary>
        public string Company { get; set; }
        /// <summary>
        /// 收货单位
        /// </summary>
        public string Receiver { get; set; }
        /// <summary>
        /// 出入厂时间 HH:mm
        /// 入厂时表示入厂时间
        /// 出厂时表示出厂时间
        /// </summary>
        public string EnterOut_Time { get; set; }
        /// <summary>
        /// 出入厂状态
        /// </summary>
        public string EnterOut_Status { get; set; }
        /// <summary>
        /// 这条数据的json形式
        /// </summary>
        public string ThisJson { get; set; }
    }

    /// <summary>
    /// 数据展示--门卫处--按货物名-出入厂车辆
    /// </summary>
    public class ToBeGoodsName
    {
        /// <summary>
        /// 序号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 货物
        /// </summary>
        public string GoodsName { get; set; } = "";
        /// <summary>
        /// 总进厂车辆
        /// </summary>
        public int TotalEnterCount { get; set; } = 0;
        /// <summary>
        /// 总出厂车辆
        /// </summary>
        public int TotalOutCount { get; set; } = 0;

        public List<ToBeWeighed> EnterOut_ToBeWeighed { get; set; }
    }

}